<ion-view hide-back-button="true">
<ion-nav-bar class="bar-positive nav-bar-container">
    <ion-nav-buttons side="left">
        <button class="button button-clear" ng-click="myGoBack()">
            <i class="icon ion-chevron-left" ></i> 返回
        </button>
    </ion-nav-buttons>
</ion-nav-bar>
  <ion-nav-title>{{title}}</ion-nav-title>
  <ion-content class="content has-header ionic-pseudo">
    <div class="list">
      <div class="item item-icon-left" href="#">
        <i class="icon ion-social-yen"></i>
        <div class="product-detail-left">预期年化收益</div>
        <div class="product-detail-right size-21 assertive"><b>{{product.incomeRate}}&nbsp;%</b></div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-android-time"></i>
        <div class="product-detail-left">投资期限</div>
        <div class="product-detail-right">{{product.investDateNumberStr}}</div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-ios-gear"></i>
        <div class="product-detail-left">投资总额</div>
        <div class="product-detail-right">{{product.totalAmount}}</div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-ios-settings-strong"></i>
        <div class="product-detail-left">可买余额</div>
        <div class="product-detail-right">{{product.remainingAmount}}</div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-ios-pricetag"></i>
        <div class="product-detail-left">起存金额</div>
        <div class="product-detail-right">{{product.minTradeAmount}}</div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-android-calendar"></i>
        <div class="product-detail-left">起息时间</div>
        <div class="product-detail-right">{{product.beginTime}}</div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-android-calendar"></i>
        <div class="product-detail-left">结息时间</div>
        <div class="product-detail-right">{{product.deadlineStr}}</div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-android-calendar"></i>
        <div class="product-detail-left">到账时间</div>
        <div class="product-detail-right">{{product.dueTime}}</div>
      </div>
      <div class="item item-icon-left" href="#">
        <i class="icon ion-ios-filing"></i>
        <div class="product-detail-left">还款方式</div>
        <div class="product-detail-right">{{product.refundTypeStr}}</div>
      </div>

      <div class="item item-icon-left item-icon-right" ui-sref="product-detail-intro({id:product.id})">
        <i class="icon ion-document-text"></i>
        <div class="product-detail-left">项目介绍</div>
        <i class="icon ion-ios-arrow-right"></i>
      </div>

      <div class="item item-icon-left item-icon-right" ui-sref="product-detail-riskc({id:product.id})">
        <i class="icon ion-locked"></i>
        <div class="product-detail-left">风险控制</div>
        <div class="product-detail-right"></div>
        <i class="icon ion-ios-arrow-right"></i>
      </div>
      <div style="height:44px;"></div>
    </div>

  </ion-content>
    <div class="bar bar-footer bar-positive" style="position:absolute;bottom:0;">
      <div class="title" ng-click="confirm_buy()">立即投资</div>
    </div>
</ion-view>
